package com.shen.demo.modules.backdoor.bean;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import java.util.Date;

@Entity
@Getter
@Setter
@Table(name = "organizations")
public class Organization {
        @Id
        @Column(name = "no", length = 64)
        private String no;  // 1.2.156.10197.6.1.2.301.2.113

        @Column(name = "name", length = 128)
        private String name;  // 1.2.156.10197.6.1.2.301.2.40

        @Column(name = "status", length = 2)
        private String status;  // 1.2.156.10197.6.1.2.301.2.86

        // 以下为其他属性字段（根据需求补充完整）
        private String signCert;       // 1.2.156.10197.6.1.2.301.1.1
        private String encCert;        // 1.2.156.10197.6.1.2.301.1.2
        private String certLink;       // 1.2.156.10197.6.1.2.301.1.3
        private String account;        // 1.2.156.10197.6.1.2.301.2.1
        private String password;       // 1.2.156.10197.6.1.2.301.2.2
        private String authTime;       // 1.2.156.10197.6.1.2.301.2.3
        private String gender;         // 1.2.156.10197.6.1.2.301.2.4
        private String address;        // 1.2.156.10197.6.1.2.301.2.6
        private String oldName;        // 1.2.156.10197.6.1.2.301.2.7
        private String engName;        // 1.2.156.10197.6.1.2.301.2.8
        private String functionary;    // 1.2.156.10197.6.1.2.301.2.9
        private String contact;        // 1.2.156.10197.6.1.2.301.2.10
        private String nationality;   // 1.2.156.10197.6.1.2.301.2.11
        private String birthday;       // 1.2.156.10197.6.1.2.301.2.12
        private String homePlace;     // 1.2.156.10197.6.1.2.301.2.13
        private String institutionNo; // 1.2.156.10197.6.1.2.301.2.14
        private String certManufacturerNo;    // 1.2.156.10197.6.1.2.301.2.15
        private String certManufacturerName;  // 1.2.156.10197.6.1.2.301.2.16
        private String postNo;        // 1.2.156.10197.6.1.2.301.2.17
        private String postLevelNo;   // 1.2.156.10197.6.1.2.301.2.18
        private String techpostNo;    // 1.2.156.10197.6.1.2.301.2.19
        private String model;         // 1.2.156.10197.6.1.2.301.2.20
        private String notBefore;     // 1.2.156.10197.6.1.2.301.2.21
        private String location;      // 1.2.156.10197.6.1.2.301.2.22
        private String usage;         // 1.2.156.10197.6.1.2.301.2.23
        private String buyTime;       // 1.2.156.10197.6.1.2.301.2.24
        private String softwareNo;    // 1.2.156.10197.6.1.2.301.2.26
        private String disposeMode;   // 1.2.156.10197.6.1.2.301.2.27
        private String architecture;  // 1.2.156.10197.6.1.2.301.2.28
        private String installRequirement; // 1.2.156.10197.6.1.2.301.2.29
        private String notAfter;      // 1.2.156.10197.6.1.2.301.2.30
        private String authMode;      // 1.2.156.10197.6.1.2.301.2.32
        private String manufacturerName; // 1.2.156.10197.6.1.2.301.2.34
        private String signSerialNumber; // 1.2.156.10197.6.1.2.301.2.37
        private String telephoneNumber;  // 1.2.156.10197.6.1.2.301.2.38
        private String department;    // 1.2.156.10197.6.1.2.301.2.39
        private String type;          // 1.2.156.10197.6.1.2.301.2.41
        private String trustNo;       // 1.2.156.10197.6.1.2.301.2.42
        private String encSerialNumber; // 1.2.156.10197.6.1.2.301.2.43
        private String protocol;      // 1.2.156.10197.6.1.2.301.2.44
        private String ipAddress;     // 1.2.156.10197.6.1.2.301.2.45
        private String ipMask;        // 1.2.156.10197.6.1.2.301.2.46
        private String port;          // 1.2.156.10197.6.1.2.301.2.47
        private String url;           // 1.2.156.10197.6.1.2.301.2.51
        private String logo;          // 1.2.156.10197.6.1.2.301.2.52
        private String domain;        // 1.2.156.10197.6.1.2.301.2.58
        private String authResourceType; // 1.2.156.10197.6.1.2.301.2.61
        private String showOrder;     // 1.2.156.10197.6.1.2.301.2.81
        @Column(name = "pmsId", length = 2)
        private String pmsId;         // 1.2.156.10197.6.1.2.301.2.102
        private String authSubject;   // 1.2.156.10197.6.1.2.301.2.103
        private String authObject;    // 1.2.156.10197.6.1.2.301.2.104
        private String path;          // 1.2.156.10197.6.1.2.301.2.105
        private String parentNo;      // 1.2.156.10197.6.1.2.301.2.106
        private String orgNo;         // 1.2.156.10197.6.1.2.301.2.107
        private String endpoint;      // 1.2.156.10197.6.1.2.301.2.108
        private String memo;          // 1.2.156.10197.6.1.2.301.2.110
        private String ext;           // 1.2.156.10197.6.1.2.301.2.111
        private String level;         // 1.2.156.10197.6.1.2.301.2.112
        private String appRg;         // 1.2.156.10197.6.1.2.301.2.114
        private String ipStart;       // 1.2.156.10197.6.1.2.301.2.115
        private String ipEnd;         // 1.2.156.10197.6.1.2.301.2.116
        private String portStart;     // 1.2.156.10197.6.1.2.301.2.117
        private String portEnd;       // 1.2.156.10197.6.1.2.301.2.118
        private String targetOrgNo;   // 1.2.156.10197.6.1.2.301.2.119
        private String failureReason; // 1.2.156.10197.6.1.2.301.2.120
        private String subjectResourceType; // 1.2.156.10197.6.1.2.301.2.121
        private String email;         // 1.2.156.10197.6.1.2.301.2.123
        private String securityLevel; // 1.2.156.10197.6.1.2.301.2.124
        private String authType;      // 1.2.156.10197.6.1.2.301.2.125
        private String networkNo;     // 1.2.156.10197.6.1.2.301.2.126
}